package com.hsxxherp.simplify.dao.sm.servicce.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hsxxherp.simplify.dao.sm.mapper.AccountMapper;
import com.hsxxherp.simplify.dao.sm.pojo.AccountEntity;
import com.hsxxherp.simplify.dao.sm.servicce.IAccountService;
import org.springframework.stereotype.Service;

/**
 * Account 接口实现
 *
 * @author Mark·虎克 （2486970363@qq.com）
 */
@Service
public class AccountServiceImpl extends ServiceImpl<AccountMapper, AccountEntity> implements IAccountService {
    @Override
    public AccountEntity createAccount(AccountEntity account) {
        this.baseMapper.insert(account);
        return  account;
    }
}
